package io.renren.common.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Auther: ygg
 * @Date: 2021/05/29
 * @Description: 接口防刷注解类
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ReqLimit {

    /**
     * 请求频率限制（单位秒）默认3秒可自己调整
     */
    int rateSecond() default 3;
}

